package org.cll.lagou.study.minicat.server;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;
import java.util.Map;

/**
 * 描述信息:
 *
 * @author CLL
 * @version 1.0
 * @date 2020/7/8 21:03
 */
@Getter
@Setter
@NoArgsConstructor
public class IHost {
    /**
     * host name
     */
    private String name;

    /**
     * context<==>
     *     key : context name
     *     value:
     */
    private Map<String, IContext> contextMap;

    @Override
    public String toString() {
        return "IHost{" +
                "name='" + name + '\'' +
                ", contextMap=" + contextMap +
                '}';
    }
}
